import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

Vue.config.productionTip = false;

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import axios from "axios";
Vue.prototype.$axios = axios;
//引入axios 把axios挂载为全局的方法，在任何组件中都能使用

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
